package com.hinnotek.amoeba.repo

import com.hinnotek.amoeba.api.ApiService
import com.hinnotek.amoeba.bean.old.SysPersonListBean
import com.lee.common.base.BaseRepository
import com.lee.common.network.net.StateLiveData
import javax.inject.Inject

class SysPersonRepo @Inject constructor(private val service: ApiService) : BaseRepository() {

    suspend fun getSysPersonList(stateLiveData: StateLiveData<MutableList<SysPersonListBean>>) {
        executeResp({ service.getSysPersonList() }, stateLiveData)
    }

}